package com.koron.order.defect.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
    * 缺陷等级配置
    */
@Data
public class DefectLevelAddDto implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private String id;

    /**
    * 等级值 数据字典(defect_order_level) rescue 抢修、oneclass 一类、threeclass 三类、urgent_line 紧急(线路)、major_line 重大(线路)、commonly_line 一般(线路)
    */
    @ApiModelProperty(value="等级值 数据字典(defect_order_level) rescue 抢修、oneclass 一类、threeclass 三类、urgent_line 紧急(线路)、major_line 重大(线路)、commonly_line 一般(线路)")
    private String level;

    /**
    * 消缺期限
    */
    @ApiModelProperty(value="消缺期限")
    private Integer termSection;


    /**
     * 排序
     */
    @ApiModelProperty(value="排序", hidden = true)
    private Integer sort;


    private static final long serialVersionUID = 1L;


    public DefectLevelAddDto() {
    }

    public DefectLevelAddDto(String level, Integer termSection) {
        this.level = level;
        this.termSection = termSection;
    }
}